package cn.gd.mapper.Meetingroombookings;

import cn.gd.logging.RecordLog;
import cn.gd.pojo.MeetingroombookingTool.MeetingroombookingVo;
import cn.gd.pojo.Meetingroombookings;
import cn.gd.pojo.Meetingrooms;

import java.util.List;

/**
 * @author wyh
 * @version 1.80
 */
public interface MeetingRoomBookingMapper {
    @RecordLog(desc = "查询会议室预定")
    public List<Meetingroombookings> getMeetingRoomBookingAll(MeetingroombookingVo meetingroombookingVo);

    @RecordLog(desc = "查询所有会议室")
    public List<Meetingrooms> getMeetingRoomAll(MeetingroombookingVo meetingroombookingVo);

    @RecordLog(desc = "新增会议室预定")
    public int addMeetingRoomBooking(Meetingroombookings meetingroombookings);

    @RecordLog(desc = "取消会议室预定")
    public int deleteMeetingRoomBooking(int id);

}
